package ch.selise.archtool.lib.product;

import java.util.LinkedList;
import java.util.List;

import ch.selise.archtool.lib.product.furniture.FurnitureUnit;
import ch.selise.archtool.lib.product.houseunit.Basement;
import ch.selise.archtool.lib.product.houseunit.Floor;
import ch.selise.archtool.lib.product.houseunit.Roof;
import ch.selise.archtool.lib.product.houseunit.Wall;


	
	
public	class House {
	  private Basement basement;
	  private List<Wall> walls;
	  private Roof roof;
	  private List<Floor> floors;
	  
	  private List<FurnitureUnit> furnitures;
	  //private List<String> furnitures;
	  
	  public House() {
	    this.walls = new LinkedList<Wall>();
	    this.floors = new LinkedList<Floor>();
	  }
	  public void addWall(Wall wall) {
	    this.walls.add(wall);
	  }
	  public void addFloor(Floor floor){
		  this.floors.add(floor);
	  }
	  public void setRoof(Roof roof) {
	    this.roof = roof;
	  }
	  public void setBasement(Basement basement) {
	    this.basement = basement;
	  }
	  
	  public void addFurnitures(List<FurnitureUnit> furnitures){
		  this.furnitures = furnitures;
	  }
	  
	  @Override
	  public String toString() {
	    return "House {" + this.basement + ", " + this.floors + ", " + this.walls + ", " + this.roof + ", " + this.furnitures + "}";
	  }
}

